package com.ssrs.batch.core.factory;

import org.springframework.batch.item.file.transform.DelimitedLineTokenizer;

import java.util.List;

/**
 * 扩展行读取类
 *
 * @author ssrs
 */
public class OpenDelimitedLineTokenizer extends DelimitedLineTokenizer {

    public OpenDelimitedLineTokenizer() {
        super();
    }

    public OpenDelimitedLineTokenizer(String delimiter) {
        super(delimiter);
    }

    /**
     * 暴露当前方法给外部调用
     *
     * @param line
     * @return
     */
    public List<String> splitTokenize(String line) {
        return super.doTokenize(line);
    }
}
